From: Colin Walters Date: Wed, 7 Dec 2016 14:55:10 +0000 (-0500) Subject: build: Add more default errors X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~42^2~16 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=a2d627352de9551e7b0dd93c2a7bc4dcb57b433b;p=ostree.git build: Add more default errors Newer gcc has `-Wincompatible-pointer-types`, hooray! Add a few others that we pass today. Closes: #618 Approved by: jlebon --- diff --git a/configure.ac b/configure.ac index cb1cc980..ff27b0a0 100644 --- a/configure.ac +++ b/configure.ac @@ -29,6 +29,9 @@ CC_CHECK_FLAGS_APPEND([WARN_CFLAGS], [CFLAGS], [\ -Werror=return-type \ -Werror=overflow \ -Werror=int-conversion \ + -Werror=parenthesis \ + -Werror=incompatible-pointer-types \ + -Werror=misleading-indentation \ -Werror=missing-include-dirs -Werror=aggregate-return \ -Werror=declaration-after-statement \ ])